home *** CD-ROM | disk | FTP | other *** search
- <?
- $spojeni=odbc_connect("dopl≥te_nßzev_spojenφ","","");
- $delka=odbc_longreadlen($vysledek,131072);
- if (!$spojeni):
- echo "Nepoda°ilo se p°ipojit k databßzi";
- exit;
- endif;
- $vysledek=odbc_exec($spojeni,"select * from dopl≥te_nßzev_tabulky order by dopl≥te_nßzev_t°φdφcφho_pole");
- ?>
-
- <HTML>
- <HEAD>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
- <META name="GENERATOR" content="EasyPad from http://easypad.fwd.cz">
- <TITLE>!!! doplnit !!!</TITLE>
- <link rel="stylesheet" href="/ostrava/intranet.css" type="text/css">
- </HEAD>
-
-
- <BODY bgcolor="White" text="Black">
-
- <TABLE border=1>
- <tr><!-- hlaviΦka tabulky vytvo°enß z nßzv∙ polφ -->
- <?
- for ($i = 1; $i <= odbc_num_fields($vysledek); $i++) {
- print "<td><b>";
- print odbc_field_name($vysledek,$i);
- print "</b></td>";
- }
- ?>
- </tr>
-
- <? while (odbc_fetch_row($vysledek)):?>
-
-
- <TR>
- <?
- for ($i = 1; $i <= odbc_num_fields($vysledek); $i++) {
- print "<td>";
- print odbc_result($vysledek,$i);
- print "</td>";
- }
- ?>
- </TR>
-
- <? endwhile;?>
- </TABLE>
-
- </BODY>
- </HTML>
-